package com.demo.dto;

import com.demo.pojo.Competence;
import com.demo.pojo.Comployee;
import com.demo.pojo.User;

/**
 * @author： Administrator
 * @date: 21/05/07 19:16
 * 描述：
 */
public class UserDto extends User {

    private Comployee comployee;

    public Comployee getComployee() {
        return comployee;
    }

    public void setComployee(Comployee comployee) {
        this.comployee = comployee;
    }


    @Override
    public String toString() {
        return "UserDto{" +
                "username='" + super.getUsername() + '\'' +
                ", pwd='" + super.getPwd() + '\'' +
                ", comployeeNo='" + super.getComployeeNo() + '\'' +
                ", competenceId=" + super.getCompetenceId() +
                ", state=" + super.getState() +
                ", comployee=" + comployee +
                ", competence=" + super.getCompetence() +
                '}';
    }
}
